package com.example.sfm.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(name = "CourseVo", description = "课程视图对象，包含课程的详细信息")
public class CourseVo {
    @Schema(description = "课程的唯一标识 ID", example = "1")
    private Long id;
    @Schema(description = "课程的名称", example = "Java 编程")
    private String courseName;
    @Schema(description = "课程的编号", example = "C001")
    private String courseCode;
    @Schema(description = "授课教师的 ID", example = "2001")
    private Long teacherId;
    @Schema(description = "课程的学分", example = "3")
    private Integer credits;
    @Schema(description = "课程所属的学期", example = "2023 秋季学期")
    private String semester;
    @Schema(description = "授课教师的姓名", example = "张三")
    private String teacherName;
}